package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 鱼苗管理对象 fish_man
 * 
 * @author kinVincent22
 * @date 2023-06-19
 */
public class FishMan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 鱼种编号 */
    @Excel(name = "鱼种编号")
    private Long fishId;

    /** 鱼名 */
    @Excel(name = "鱼名")
    private String fishName;

    /** 外观 */
    @Excel(name = "外观")
    private String appearance;

    /** 食性 */
    @Excel(name = "食性")
    private String feedingHabits;

    /** 成长周期 */
    @Excel(name = "成长周期")
    private String growthCycle;

    /** 平均重量（g） */
    @Excel(name = "平均重量", readConverterExp = "g=")
    private Long avgWeight;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 购入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date purchaseTime;

    public void setFishId(Long fishId) 
    {
        this.fishId = fishId;
    }

    public Long getFishId() 
    {
        return fishId;
    }
    public void setFishName(String fishName) 
    {
        this.fishName = fishName;
    }

    public String getFishName() 
    {
        return fishName;
    }
    public void setAppearance(String appearance) 
    {
        this.appearance = appearance;
    }

    public String getAppearance() 
    {
        return appearance;
    }
    public void setFeedingHabits(String feedingHabits) 
    {
        this.feedingHabits = feedingHabits;
    }

    public String getFeedingHabits() 
    {
        return feedingHabits;
    }
    public void setGrowthCycle(String growthCycle) 
    {
        this.growthCycle = growthCycle;
    }

    public String getGrowthCycle() 
    {
        return growthCycle;
    }
    public void setAvgWeight(Long avgWeight) 
    {
        this.avgWeight = avgWeight;
    }

    public Long getAvgWeight() 
    {
        return avgWeight;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setPurchaseTime(Date purchaseTime) 
    {
        this.purchaseTime = purchaseTime;
    }

    public Date getPurchaseTime() 
    {
        return purchaseTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fishId", getFishId())
            .append("fishName", getFishName())
            .append("appearance", getAppearance())
            .append("feedingHabits", getFeedingHabits())
            .append("growthCycle", getGrowthCycle())
            .append("avgWeight", getAvgWeight())
            .append("supplier", getSupplier())
            .append("purchaseTime", getPurchaseTime())
            .toString();
    }
}
